#pragma once

#include <d3d9.h>
#include <memory>

class CFTFont;

class CDxFont
{
public:
	CDxFont(void);
	~CDxFont(void);

	void RenderText(LPDIRECT3DTEXTURE9 lpTex,int nStartX,int nStartY,const char* strText,shared_ptr<CFTFont> lpFont,
		unsigned long ulForegroundColor,unsigned long ulBackgroundColor);

	void RenderText(LPDIRECT3DTEXTURE9 lpTex,int nStartX,int nStartY,const wchar_t* strText,shared_ptr<CFTFont> lpFont,
		unsigned long ulForegroundColor,unsigned long ulBackgroundColor);
};

